package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.vo.req.PageReqVO;


import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * @author YangYulin
 * @email YangYulinit@163.com
 * @date 2020-08-05 16:20:50
 */
@Data
@TableName("sys_goods")
public class SysGoodsEntity extends PageReqVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 所属部门
     */
    @TableField("dept_id")
    private String deptId;

    /**
     * 所属门店
     */
    @TableField("store_id")
    private String storeId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 商品价格。单位分
     */
    @TableField("money")
    private String money;

    /**
     * 简介
     */
    @TableField("description")
    private String description;

    /**
     * 封面图片
     */
    @TableField("cover_img")
    private String coverImg;

    /**
     * 点击数
     */
    @TableField("check_count")
    private Long checkCount;

    /**
     *
     */
    @TableField("type")
    private String type;

    /**
     *
     */
    @TableField("content")
    private String content;

    /**
     *
     */
    @TableField("create_time")
    private Date createTime;

    /**
     *
     */
    @TableField("update_time")
    private Date updateTime;


}
